#!/bin/bash
if [ "$#" -lt "2" ];then
    echo "please input inputdir and outputdir"
    exit
fi

for file in `ls $1` 
do 
    echo $1"/"$file
    unrar x $1"/"$file -pwww.jinshuyuan.net $2

done

